﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YbxLibrary.entity.indata
{
    public class T2203in
    {
        public static  String JYBH = "2203";
        public Mdtrtinfo mdtrtinfo { set; get; }
        public List<Diseinfo> diseinfo { set; get; }
        public class Mdtrtinfo
        {
            /// <summary>
            /// 就诊ID
            /// </summary>
            public string mdtrt_id { get; set; } 

            /// <summary>
            /// 人员编号
            /// </summary>
            public string psn_no { get; set; } 

            /// <summary>
            /// 医疗类别
            /// </summary>
            public string med_type { get; set; } 

            /// <summary>
            /// 开始时间
            /// </summary>
            public string begntime { get; set; } 

            /// <summary>
            /// 主要病情描述
            /// </summary>
            public string main_cond_dscr { get; set; } 

            /// <summary>
            /// 病种编码
            /// </summary>
            public string dise_codg { get; set; } 

            /// <summary>
            /// 病种名称
            /// </summary>
            public string dise_name { get; set; } 

            /// <summary>
            /// 计划生育手术类别
            /// </summary>
            public string birctrl_type { get; set; } 

            /// <summary>
            /// 计划生育手术或生育日期
            /// </summary>
            public string birctrl_matn_date { get; set; } 

            /// <summary>
            /// 字段扩展
            /// </summary>
            public string exp_content { get; set; } 
        }
        public class Diseinfo
        {
            /// <summary>
            /// 诊断类别
            /// </summary>
            public string diag_type { get; set; } 

            /// <summary>
            /// 诊断排序号
            /// </summary>
            public string diag_srt_no { get; set; } 

            /// <summary>
            /// 诊断代码
            /// </summary>
            public string diag_code { get; set; } 

            /// <summary>
            /// 诊断名称
            /// </summary>
            public string diag_name { get; set; } 

            /// <summary>
            /// 诊断科室
            /// </summary>
            public string diag_dept { get; set; } 

            /// <summary>
            /// 诊断医生编码
            /// </summary>
            public string dise_dor_no { get; set; } 

            /// <summary>
            /// 诊断医生姓名
            /// </summary>
            public string dise_dor_name { get; set; } 

            /// <summary>
            /// 诊断时间
            /// </summary>
            public string diag_time { get; set; } 

            /// <summary>
            /// 有效标志
            /// </summary>
            public string vali_flag { get; set; } 
        }
    }
}
